# TARGETS += latex.dvi
# TARGETS += tex.dvi
TARGETS += p59-rajan-markedup.exe
TARGETS += p59-rajan-markedup.c
all: ${TARGETS}

%.exe:%.c
	gcc $< -o $*

%.c: %.tex
	latex $*

latex.dvi:latex.tex
	latex latex

tex.dvi tex.c: tex.tex
	tex tex

JUNK += *.dvi *.c *.log *.aux *.bak *.exe *.pdf *.h
clean:
	rm -rf ${JUNK}
